<%@ Page Title="" Language="C#" MasterPageFile="~/SalesOneWeb.Master" AutoEventWireup="true" CodeBehind="SearchUsers.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.UserManagement.SearchUsers" %>
<%@ Register src="../UserControls/UCGrid.ascx" tagname="UCGrid" tagprefix="uc1" %>
<%@ Register src="../UserControls/UCGridButtons.ascx" tagname="UCGridButtons" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link href="../StyleSheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />
  <script language="javascript" type="text/javascript">

        window.onload = function() {

            var msg = document.getElementById('ctl00_MasterMsg');
            if (msg && msg.innerHTML != '')
                showMessageBlock();
        }
        </script>  
   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
        <table class="detailstable">
         
            <tr>
                <td   >
                    User&#39;s Name *:&nbsp;</td>
                <td   >
                    <asp:TextBox ID="txtUserName" runat="server" style="margin-left: 0px; margin-bottom: 0px;" 
                        CssClass="txtbox"></asp:TextBox>
                            </td>
                <td   >
                    &nbsp;</td>
            </tr>
            <tr>
                <td   >
                    User Id *:&nbsp;</td>
                <td   >
                    <asp:TextBox ID="txtUserId" runat="server" style="margin-left: 0px" 
                        CssClass="txtbox"></asp:TextBox>
                            </td>
                <td   >
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="2" class="pix8"   >
                    </td>
                <td   >
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="3" >
                    
                                <asp:Button ID="btnSearch" runat="server" onclick="btnSearch_Click" 
                        Text="Search" CssClass="btn" Width="76px" />
                    
                                </td>
            </tr>
            <tr>
                <td colspan="3" class="pix8" >
                    </td>
            </tr>
            
            <tr>
                <td colspan="3" >
                    <uc1:UCGrid ID="UCGrid1" runat="server" />
                            </td>
            </tr>
            
            <tr>
            <td colspan="2">
            <table>
            <tr>
            <td> <uc2:UCGridButtons ID="UCGridButtons1" runat="server" Visible="False" /></td>
            <td><asp:Button ID="btnDisable" runat="server" onclick="btnDisable_Click" Text="Disable" 
                                    OnClientClick="return confirm('Are you sure you want to disable user ?');"  
                                    Visible="False" CssClass="btn" Height="23px" /></td>
            </tr>
            </table>
                 
              </td>              
                            
            </tr>
            </table>
    
</asp:Content>
